package co.edu.usbcali.scrum.dataaccess.dao;

import co.edu.usbcali.scrum.modelo.Springitem;
import co.edu.usbcali.scrum.modelo.SpringitemId;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for SpringitemDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface ISpringitemDAO {
    public void save(Springitem instance);

    public void delete(Springitem instance);

    public void update(Springitem instance);

    public Springitem findById(SpringitemId id);

    public List<Springitem> findByExample(Springitem instance);

    public List<Springitem> findByProperty(String propertyName, Object value);

    public List<Springitem> findAll();

    public List<Springitem> findByCriteria(String whereCondition);

    public List<Springitem> findPageSpringitem(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberSpringitem();

    public List<Springitem> findById(Object id);
}
